package com.whk.push;


public class PushResult {
    private int code;
    private String seq;
    private String message;
    private Object object;

    public PushResult(){

    }

    public PushResult(int code, String seq) {
        this.code = code;
        this.seq = seq;
    }

    public PushResult(String seq) {
        this.seq = seq;
    }

    public PushResult(int code, String seq, String message, Object object) {
        this.code = code;
        this.seq = seq;
        this.message = message;
        this.object = object;
    }

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
    public static PushResult fail(String seq){
        return new PushResult(-1, seq);
    }
}
